function jsonDate(jsonDate) {
    var dateString = jsonDate,
        data = new Date(parseInt(dateString.replace(/\/Date\((\d+)\)\//gi, "$1"))),
        dia,
        mes,
        ano;
    if (data.toString() === "Invalid Date") {
        return "Invalid Date";
    }
    dia = data.getDate();
    mes = data.getMonth() + 1;
    ano = data.getFullYear();
    data = dia + "/" + mes + "/" + ano;
    return data;
}